#include "levelactorpatternswidget.h"
#include "modes/leveleditormode.h"

using namespace LevelModeWidgets;

LevelActorPatternsWidget::LevelActorPatternsWidget(QPointer<Modes::EditorMode> lem, QWidget *parent)
	: QWidget(parent)
{
	ui.setupUi(this);
	ui.listWidgetActorPatterns->setLevelEditorMode(lem);
}

QPointer<LevelActorPatternsListWidget> LevelModeWidgets::LevelActorPatternsWidget::listWidget() const
{
	return ui.listWidgetActorPatterns;
}
